* {
    font-family: "Inter Regular", sans-serif;
    font-size: 14px;
}

th:hover>a {
    /* color: var(--primary) !important; */
}

/* Text Styles */
.bg-op-darkblue {
    background-color: #091E42 !important;
}

.title {
    font-family: "Inter SemiBold";
    color: var(--secondaryBlue);
}

.input_error {
    color: red;
}

.h-main {
    font-size: 2rem;
}

.p-title {
    font-family: "Inter SemiBold";
    font-size: 1.2rem;
    margin-bottom: 0;
}

.h-large {
    font-size: 1.5rem;
}

.i-label {
    color: var(--secondaryBlue);
    font-family: "Inter Medium";
}

.text-bold {
    font-family: "Inter SemiBold";
}

.text-clipped {
    text-overflow: ellipsis;
    overflow: hidden;
    line-clamp: 1;
}

/* Icon Styles */

.f-icon {
    height: 30px;
    width: 30px;
    font-size: 2.5rem;
}

/* Button Styles */

.btn-outline-main {
    border: 1px solid var(--primaryBlue);
    color: var(--primaryBlue);
    padding: 5px 15px;
    background: transparent;
    border-radius: 8px !important;
    text-align: center;
}

.btn-filled-main {
    background: var(--primaryBlue);
    color: white;
    outline: var(--primaryBlue);
}

.btn-filled-secondary {
    background: #0026AB;
    border-color: #0026AB;
    color: white;
    border-radius: 6px !important;
    outline: var(--secondary);
}

.btn-outline-main:hover,
.btn-outline-main:focus {
    background-color: var(--primaryBlue);
    color: white;
    border-color: var(--primaryBlue);
    outline-color: var(--primaryBlue);
    transition: ease 0.3s;
}

.btn-filled-secondary:hover i,
.btn-filled-secondary:hover,
.btn-filled-secondary:focus {
    background-color: #0026AB;
    color: white;
    border-color: #0026AB;
    outline-color: #0026AB;
}

.btn-outline-sec {
    border: 1px solid var(--secondary);
    color: var(--secondary);
    padding: 5px 15px;
    background: transparent;
    border-radius: 8px !important;
    text-align: center;
}

.btn-outline-sec:hover,
.btn-outline-sec:focus {
    background-color: var(--secondary);
    color: white;
    border-color: var(--secondary);
    outline-color: var(--secondary);
    transition: ease 0.3s;
}

.btn-outline-kicker {
    border: 1px solid var(--kickerGrey);
    color: var(--secondaryBlue);
    padding: 3px 15px;
    background: transparent;
    border-radius: 8px !important;
    text-align: center;
}

.btn-outline-kicker:hover,
.btn-outline-kicker:hover i,
.btn-outline-kicker:focus {
    background-color: var(--kickerGrey);
    color: white;
    border-color: var(--kickerGrey);
    outline-color: var(--kickerGrey);
    transition: ease 0.3s;
}

.btn-outline-primary {
    border: 1px solid var(--primary) !important;
    color: var(--primary) !important;
}

.btn-outline-primary:hover {
    background-color: var(--primary) !important;
    color: white !important;
}

.btn-search {
    background: transparent;
    border: 1px solid var(--kickerGrey);
    border-left: none;
    color: var(--secondaryBlue);
    border-radius: 0 8px 8px 0;
}

.btn-search:hover {
    color: #212529;
    background-color: transparent;
    border-color: var(--kickerGrey);
}

.btn-action {
    border: 1px solid var(--kickerGrey);
    color: var(--textGrey);
    padding: 8px 10px !important;
}

.btn-action svg>path {
    fill: var(--textGrey);
}

.btn-action:hover {
    color: white;
}

.btn-hover-view:hover {
    border-color: #2072ff;
}

.btn-hover-toggle:hover {
    border-color: #ff8d2a;
}

.btn-hover-delete:hover {
    border-color: #c90000;
}

.btn-action:hover img {
    /* to black */
    filter: invert(1);
    filter: invert(1);
}

.btn-custom {
    background: var(--success);
    color: white;
    outline: var(--success);
}

.btn-custom:hover,
.btn-custom:focus {
    background-color: var(--success);
    color: white;
    border-color: var(--success);
    outline-color: var(--success);
    box-shadow: 0 0 5px 5px rgba(0, 0, 0, 0.081);
    scale: 1.05;
}

.btn-text {
    color: var(--primary);
}

.action-primary:hover {
    background-color: var(--lightBlue);
}

.action-dark:hover {
    background-color: var(--secondary);
}

.action-secondary:hover {
    background-color: var(--textGrey);
}

.action-cancel:hover {
    background-color: var(--danger);
}

.action-warning:hover {
    background-color: var(--warning);
}

.action-danger:hover {
    background-color: var(--danger);
}

.action-success:hover {
    background-color: var(--success);
}

.link-style,
.link-style:hover {
    color: var(--primaryBlue);
}

.link-style.active {
    font-family: "Inter SemiBold";
    color: var(--secondaryBlue);
}

.link-sort,
.list-status {
    display: flex;
    align-items: center;
}

.dropdown-link {
    color: black;
}

.btn-group {
    width: fit-content;
}

.btn-group .action-secondary:hover i {
    color: white;
}

/* Other Styles */

.custom-input {
    border-color: var(--kickerGrey);
}

.border-kicker {
    border: 1px solid var(--kickerGrey);
    border-radius: 0.5rem;
}

.border-x-right {
    border-right: none;
}

.border-s-right {
    border-right: 1px solid var(--kickerGrey);
}

.border-s-bottom {
    border-bottom: 1px solid var(--kickerGrey) !important;
}

.border-d-bottom {
    border-bottom: 2px dashed var(--kickerGrey) !important;
}

.border-b-0 {
    border-bottom: 0;
}

.custom-card {
    background-color: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.shadow-card {
    box-shadow: 0px 3px 15px #e9e9e9;
    border: none;
}

.custom-card .card-header {
    padding-top: 15px;
    padding-bottom: 15px;
    background-color: transparent;
}

.custom-card .card-nav {
    padding: 10px;
    border-bottom: 1px solid #e5e7eb;
}

.card-header {
    border-bottom: 2px solid #e5e7eb;
}

.kicker {
    background-color: #0026ab;
    color: white;
    width: 100%;
    padding: 10px;
    z-index: 1;
}

.card-header {
    background-color: white;
}

.bg-secondary-grey {
    background-color: var(--secondaryGrey);
    color: var(--secondaryBlue);
    padding: 10px;
}

ul.pagination {
    margin-bottom: 0 !important;
}

/* Side Navigation */

#sidebarWrapper {
    position: fixed;
    width: 220px;
    height: 100vh;
    transition: 0.5s;
    overflow-x: hidden;
    background: var(--bs-body-bg);
    box-shadow: var(--shadow);
    z-index: 1022;
    margin-left: -220px;
}

#adminContent {
    /* background-color: #f9fafb; */
    padding: 0;
    width: 100%;
    transition: 0.5s;
    display: flex;
    flex-direction: column;
}

#adminContent.sidenav-toggled {
    padding: 0 0 0 220px;
}

#sidebarWrapper.toggled {
    margin-left: 0;
}

.sidenav {
    color: var(--textGrey);
}

.sidenav-title {
    font-family: "Inter SemiBold";
    color: var(--darkGrey);
    white-space: nowrap;
}

.sidenav-list,
.sidenav-collapse {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.sidenav-item {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
}

.sidenav-link {
    display: flex;
    white-space: nowrap;
    align-items: center;
    text-decoration: none !important;
    color: var(--textGrey);
    padding-inline: 1rem;
    padding-block: 0.5rem;
    width: 100%;
    justify-content: space-between;
    column-gap: 1rem;
    border-radius: 8px;
}

.sidenav-link i:first-child {
    width: 1.5rem;
}

.sidenav-link i:last-child {
    transition: all 0.3s;
}

.sidenav-item>a>span:nth-child(2) {
    flex: 1 1 auto;
}

.sidenav-item.active>a,
.collapse-item.active>a {
    font-family: "Inter Medium";
    color: black;
    /* color: var(--primary); */
    background: var(--secondaryGrey);
    font-weight: 500;
}

.sidenav-item.active>a>span {
    font-family: "Inter SemiBold";
}

.sidenav-item:hover>a,
.collapse-item:hover>a {
    background: var(--secondaryGrey);
    color: var(--secondary) !important;
}

.collapse-item {
    display: flex;
    margin-top: 10px;
    margin-bottom: 10px;
}

.collapse-item a {
    padding-left: 3.3rem;
    width: 100%;
    padding-top: 5px;
    padding-bottom: 5px;
}

/* Top Navigation */

.navbar {
    background: white;
    box-shadow: var(--shadow);
}

.btn-nostyle {
    background: transparent;
    border: none !important;
    outline: none !important;
    padding: 0;
    cursor: pointer;
    transition: 0.3s;
}

.btn-nostyle:hover i {
    color: var(--secondary);
}

.btn-nostyle:hover .badge {
    background-color: red;
}

.sidebar-toggler i,
.notifaction-toggler {
    font-size: 1.5rem;
}

.sidebar-toggler:hover,
.notification-toggler:hover {
    color: var(--primaryBlue);
}

.cursor-pointer {
    cursor: pointer !important;
}

#notificationCount {
    border-radius: 3px;
    font-size: 0.75rem;
    background: var(--danger);
    color: white;
    position: absolute;
    top: -1.25rem;
    padding: 3px;
}

.notification-toggler:hover>i>#notificationCount {
    background: var(--primaryBlue);
}

.nav-user label {
    font-size: 1.5rem;
}

.overlay {
    display: none;
}

#search {
    border: transparent;
}

.form-switch .form-check-input:checked {
    background-color: var(--secondary);
    border-color: var(--secondary);
}

.avatar {
    border-radius: 50%;
}

.dropdownAvatar {
    background-color: transparent;
    border: none;
    border-radius: 0.5em;
}

.dropdownAvatar:hover {
    border: none;
}

.dropdownAvatar:hover,
.dropdownAvatar:hover i {
    color: var(--darkGrey);
}

.dropdownAvatar.dropdown-toggle::after {
    display: none;
}

.dropdownAvatar+.dropdown-menu {
    width: 260px;
}

#sidenav .card.card-body.h-100 {
    width: 220px;
}

.sidenav-link[aria-expanded="true"] i:last-child {
    transform: rotate(90deg);
}

.logoContainer {
    background: white;
    border-right: 1px solid var(--kickerGrey);
    border-bottom: 1px solid var(--kickerGrey);
    display: flex;
    height: 55px;
    justify-content: center;
    align-items: center;
    padding: 12px;
}

.img-logo {
    width: 70%;
    height: 40px;
    object-fit: contain;
}

.sideMenu {
    border-right: 1px solid var(--kickerGrey);
}

/* Notifications Modal */

.modal-dialog.modal-notification {
    padding-top: 2.5rem;
    margin-right: 5rem;
}

.modal-dialog.modal-notification .modal-content {
    height: 70vh;
    width: 350px;
    box-shadow: var(--shadow-xl);
}

.modal-dialog.modal-notification .modal-content .modal-header {
    border: none;
    padding-bottom: 0;
}

.notification-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.icon-wrapper {
    position: relative;
    font-size: 2.5rem;
    margin-top: 0.25rem;
}

.notification-icon {
    position: absolute;
    color: white;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    font-size: 0.5em;
}

.item-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.item-title {
    font-weight: bold;
}

.item-desc {
    font-size: 0.8rem;
}

.item-time {
    font-size: 0.8rem;
    color: var(--grayishBlue);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.notification-modal-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Summernote double dropdown-button fix */

.note-editor .dropdown-toggle::after {
    all: unset;
}

.note-editor .note-dropdown-menu {
    box-sizing: content-box;
}

.note-editor .note-modal-footer {
    box-sizing: content-box;
}

/* Handle errors for select2  */

.has-error .select2-dropdown,
.has-error .select2-selection {
    border-color: #a94442;
}

.has-error .select2-container--focus .select2-selection,
.has-error .select2-container--open .select2-selection {
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483;
    border-color: #843534;
}

.has-error.select2-drop-active {
    border-color: #843534;
}

.has-error.select2-drop-active.select2-drop.select2-drop-above {
    border-top-color: #843534;
}

/* media queries */

@media (max-width: 767px) {
    .border-s-right {
        border-right: none;
    }
}

@media screen and (max-width: 1024px) {
    #adminContent.sidenav-toggled {
        padding: 0;
    }

    .overlay.show {
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.7);
        display: block;
        z-index: 1021;
        position: fixed;
    }

    .form-switch .form-check-input {
        margin-left: -2em;
    }
}

/* Utilities */

.flex-col-gap {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.fa-3xl {
    font-size: 3rem;
}

.fw-mazzard-bold {
    font-family: "Mazzard Bold", "Inter Bold", "Segoe UI", Verdana, sans-serif;
    font-weight: 700;
}

.flex-row-grow {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
}

.flex-row-grow>[class*="col-"] {
    display: flex;
    flex-direction: column;
}

.custom-file-upload {
    width: 100%;
    border: 1px solid #ccc;
    display: inline-block;
    padding: 6px 12px;
    cursor: pointer;
    border-radius: 8px;
    text-align: center;
}

.custom-nav-pills .nav-item .nav-link {
    padding: 5px 15px;
    color: black;
    border-radius: 8px !important;
}

.custom-nav-pills .nav-item .nav-link.active {
    background-color: var(--kickerGrey);
}

/* Index Styles */
.add-link {
    color: white;
    text-align: center;
    white-space: nowrap;
    background-color: var(--primary);
    border-color: var(--primary);
    border-radius: 0.25rem;
    padding: 0.5rem 1.5rem;
}

.add-link:hover,
.add-link:focus {
    color: white;
    background-color: var(--primary);
}

.add-link:hover * {
    color: white;
}

.status__wrapper {
    --active: #047f00;
    --inactive: #dc3545;
    --pick-up: #0d6efd;
    --done: #0dcaf0;
    --cancelled: #dc3545;
    --picked-up: #198754;
    --waiting: #ffc107;
    --processing: #0d6efd;

    display: flex;
    align-items: center;
    column-gap: 0.5rem;
}

.status__icon {
    border-radius: 9999px;
    width: 10px;
    height: 10px;
}

.status__icon[data-status="active"] {
    background-color: var(--active);
}

.status__icon[data-status="inactive"] {
    background-color: var(--inactive);
}

.status__icon[data-status="paid"] {
    background-color: var(--active);
}

.status__icon[data-status="unpaid"] {
    background-color: var(--active);
}

.status__icon[data-status="partial"] {
    background-color: var(--primary);
}

.status__icon[data-status="pick-up"] {
    background-color: var(--pick-up);
}

.status__icon[data-status="done"] {
    background-color: var(--done);
}

.status__icon[data-status="cancelled"] {
    background-color: var(--cancelled);
}

.status__icon[data-status="picked-up"] {
    background-color: var(--picked-up);
}

.status__icon[data-status="waiting"] {
    background-color: var(--waiting);
}

.status__icon[data-status="processing"] {
    background-color: var(--processing);
}

.modal__title,
.modal__title * {
    font-size: 1.5rem;
    font-family: "Inter SemiBold";
    font-weight: 600;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

.modal__title {
    font-size: 1.5rem;
    font-family: "Inter SemiBold";
    font-weight: 600;
}

.input__label {
    font-family: "Inter SemiBold";
    font-weight: 600;
}

.input__label.error {
    border-color: var(--danger);
}

.input__error {
    color: var(--danger);
    font-size: 0.67rem;
    font-family: "Inter";
}

.action__wrapper2 {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 100px;

    & .action__btn {
        width: 100%;
    }
}

.btn-secondary-custom {
    transition: filter ease-in-out 300ms;
    color: white;
    border-radius: 6px !important;
    white-space: nowrap;
    background-color: #0026ab;
    border-color: #0026ab;
    padding: 0.35rem 1.25rem;
}

.btn-secondary-custom:hover,
.btn-secondary-custom:focus {
    color: white;
    background-color: #0026ab;
    border-color: #0026ab;

    &>* {
        color: white;
    }
}

.strike {
    text-decoration: line-through !important;
}

.border {
    border: 1px solid #dddfe3 !important;
}

.rounded {
    border-radius: 8px !important;
}

.stat-icon.blue {
    background: linear-gradient(135deg, #DDE9FF, #DDE9FF);
}

.stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}

.pagination li>a:hover {
    background-color: #0026AB;
    color: white !important;
    border-color: #0026AB;
}

.filter-card {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e5e7eb
}

.filter-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 1.5rem;
}